package com.jframe.sys.orm.utils;

import java.util.List;

public class ResultSet<T>{

	private int total;
	private List<T> rows;

	public ResultSet(){}
	
	public ResultSet(List<T> results, int total) {
		this.rows = results;
		this.setTotal(total);
	}
	
	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}	
}
